package com.lingyue.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author deep.wu
 * @version 1.0 on 2019/12/17 16:06.
 */
@Data
public class DataDictionaryDTO implements Serializable {

    @ApiModelProperty(value = " 数据类别")
    private String dataType;

    @ApiModelProperty(value = " 数据编码 ")
    private String dataCode;

    @ApiModelProperty(value = " 数据名称/值 ")
    private String dataValue;

    @ApiModelProperty(value = " 顺序 ")
    private Integer sortNo;

    @ApiModelProperty(value = " 缓存创建时间 ")
    private LocalDateTime cacheDate;

    public DataDictionaryDTO(String dataCode, String dataValue, Integer sortNo) {
        this.dataCode = dataCode;
        this.dataValue = dataValue;
        this.sortNo = sortNo;
    }
}
